package com.dd.census.properties;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class Properties {

	@Value("${file.location}")
	private String location;

	@Value("${file.linuxLocation}")
	private String linuxLocation;
	
	
	@Value("${spring.rabbitmq.listener.simple.concurrency}")
	private Integer concurrency;
	
	@Value("${spring.rabbitmq.listener.simple.max-concurrency}")
	private Integer maxConcurrency;
	
	@Value("${spring.rabbitmq.listener.simple.prefetch}")
	private Integer prefetch;

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public Integer getConcurrency() {
		return concurrency;
	}

	public void setConcurrency(Integer concurrency) {
		this.concurrency = concurrency;
	}

	public Integer getMaxConcurrency() {
		return maxConcurrency;
	}

	public void setMaxConcurrency(Integer maxConcurrency) {
		this.maxConcurrency = maxConcurrency;
	}

	public Integer getPrefetch() {
		return prefetch;
	}

	public void setPrefetch(Integer prefetch) {
		this.prefetch = prefetch;
	}

	public String getLinuxLocation() {
		return linuxLocation;
	}

	public void setLinuxLocation(String linuxLocation) {
		this.linuxLocation = linuxLocation;
	}
}
